import service from './request'

export function user_login( params = {} ){
    return service.post('/user/login',params);
}
export function user_register( params = {} ){
    return service.post('/user/register',params);
}
export function address_add( params = {} ){
    return service.post('/address/add',params);
}
export function banner_list( params = {} ){
    return service.get('/banner/list',{ params });
}
export function shop_list( params = {} ){
    return service.get('/shop/list',{ params });
}
export function shop_shopinfo( params = {} ){
    return service.get('/shop/shopinfo',{ params });
}
export function address_list( params = {} ){
    return service.get('/address/list',{ params });
}
export function address_edit( params = {} ){
    return service.post('/address/edit',params );
}
export function shop_search( params = {} ){
    return service.get('/shop/search',{ params } );
}
// export function banner_list( params = {} ){
//     return service.get('/banner/list',{ params } );
// }

